package com.aconcagua.samples.charts.controller.commands {
  import mx.controls.Alert;
  import mx.rpc.Responder;
  import mx.rpc.events.FaultEvent;

  public class ResponderCommand extends Responder {
    public function ResponderCommand(onResult: Function) {
      super(onResult, onFault);
    }
    
    protected function onFault(event: FaultEvent): void {
      Alert.show(event.fault.faultDetail);
    }
  }
}